package cn.tedu.egmvc6.mapper;

import cn.tedu.egmvc6.pojo.entity.User;
import cn.tedu.egmvc6.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    UserVO selectByUsername(String username);

    void reg(User user);

    UserVO login(@Param("username") String username, @Param("password")String password);
}
